home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- dateLocs = [#JF: point(431, 324), #LC: point(432, 308)]
- pCharCode = currentChar()
- thisChar = string(pCharCode)
- dateLoc = getaProp(dateLocs, pCharCode)
- if voidp(dateLoc) then
- pSpr.visible = 0
- exit
- end if
- pSpr.visible = 1
- pSpr.member.text = formatBirthDate(sprite(getActiveCharacter()).pBirthDate2)
- pSpr.member.color = gray()
- pSpr.loc = dateLocs[pCharCode]
- end
-
- on endSprite
- pSpr.visible = 1
- end
-